<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>JavaScript 使用</title>
</head>
<body>
<!--外部脚本-->
<script src="../JS教程/demo/myScript.js"></script>
<p id="demo">一个段落</p>
<button type="button" onclick="myFunction()">
     点击
</button>
</body>
</html>